package com.itheima.day03;

public class Test1 {
    public static void main(String[] args) {

        System.out.println(Math.ceil(-10.8));
        int sum = 0;
        for (int i = -10; i < 6; i++) {
            if (Math.abs(i) > 6 || i < 2.1) {
                sum++;
            }
        }

        System.out.println("sum = " + sum);
    }
}
